package com.tre.jdevtemplateboot.common.enums;

public enum ResourceHandlerEnums {
    RESOURCE_MSG_UPLOAD("/upload/**","file:upload\\")
    ,RESOURCE_MSG_STATIC("/static/**","classpath:/static/")
    ,RESOURCE_MSG_SWAGGER("swagger-ui.html","classpath:/META-INF/resources/")
    ,RESOURCE_MSG_DOC("doc.html","classpath:/META-INF/resources/")
    ,RESOURCE_MSG_WEB_JARS("/webjars/**","classpath:/META-INF/resources/webjars/")
    ,RESOURCE_MSG_FAVICON("/favicon.ico","");

    private String handler;
    private String location;

    ResourceHandlerEnums(String handler, String location) {
        this.handler = handler;
        this.location = location;
    }

    public String getHandler() {
        return handler;
    }

    public String getLocation() {
        return location;
    }
}
